package com.ruoyi.financial.mapper;

import com.ruoyi.financial.domain.TCwClearing;

import java.util.List;

/**
 * 结算Mapper接口
 * 
 * @author ruoyi
 * @date 2021-06-22
 */
public interface TCwClearingMapper 
{
    /**
     * 查询结算
     * 
     * @param id 结算ID
     * @return 结算
     */
    public TCwClearing selectTCwClearingById(Long id);

    /**
     * 查询结算列表
     * 
     * @param tCwClearing 结算
     * @return 结算集合
     */
    public List<TCwClearing> selectTCwClearingList(TCwClearing tCwClearing);

    /**
     * 新增结算
     * 
     * @param tCwClearing 结算
     * @return 结果
     */
    public int insertTCwClearing(TCwClearing tCwClearing);

    /**
     * 修改结算
     * 
     * @param tCwClearing 结算
     * @return 结果
     */
    public int updateTCwClearing(TCwClearing tCwClearing);

    /**
     * 删除结算
     * 
     * @param id 结算ID
     * @return 结果
     */
    public int deleteTCwClearingById(Long id);

    /**
     * 批量删除结算
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTCwClearingByIds(Long[] ids);
}
